'use client';

export default function BrowseLoading() {
    return (
        <div className="min-h-screen bg-gray-900 p-8">
            <div className="max-w-7xl mx-auto">
                {/* 骨架屏动画 */}
                <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6">
                    {[...Array(8)].map((_, i) => (
                        <div key={i} className="bg-gray-800 rounded-lg overflow-hidden relative">
                            <div className="aspect-video bg-gray-700" />
                            <div className="p-4">
                                <div className="h-4 bg-gray-700 rounded w-3/4 mb-2" />
                                <div className="h-4 bg-gray-700 rounded w-1/2" />
                            </div>
                            {/* 闪光动画遮罩 */}
                            <div className="absolute inset-0 bg-gradient-shimmer animate-shimmer bg-[length:200%_100%]" />
                        </div>
                    ))}
                </div>
            </div>
        </div>
    );
}
